import request from '@/utils/request'

// 楼栋列表
export function apiBuildingLists(params: any) {
    return request.get({ url: '/building/lists', params })
}

// 添加楼栋
export function apiBuildingAdd(params: any) {
    return request.post({ url: '/building/add', params })
}

// 编辑楼栋
export function apiBuildingEdit(params: any) {
    return request.post({ url: '/building/edit', params })
}

// 删除楼栋
export function apiBuildingDelete(params: any) {
    return request.post({ url: '/building/delete', params })
}

// 楼栋详情
export function apiBuildingDetail(params: any) {
    return request.get({ url: '/building/detail', params })
}
